Warning (2): Illegal string offset '_source' [APP/Controller/LettersController.php, line 17]Code Context public function view_pdf($id = null) {
$currentDoc = $this->{$this->modelClass}->execute('GET' , $id);
$docsource = $currentDoc['_source'];
$id = '<pre class='
$currentDoc = 'Error by indexing data in elasticsearch server. Check your response_error and payload!'
LettersController::view_pdf() - APP/Controller/LettersController.php, line 17
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - APP/Lib/cakephp/lib/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - APP/Lib/cakephp/lib/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - APP/Lib/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 109
Warning (2): Illegal string offset 'ID' [APP/Controller/LettersController.php, line 117]Code Context $purl_web=$url.'/briefid/'.$docsource["36_purl_web"];
} else {
$purl_web=$url.'/letters/view/'.$docsource['ID'];
$id = '<pre class='
$currentDoc = 'Error by indexing data in elasticsearch server. Check your response_error and payload!'
$docsource = 'E'
$absender = 'Unbekannt'
$adressat = 'Unbekannt'
$dateline = ''
$indexesintext = array()
$notesintext = array()
$editors = array()
$version = 'version-04-20'
$domain = 'https://august-wilhelm-schlegel.de'
$url = 'https://august-wilhelm-schlegel.de/version-04-20'
LettersController::view_pdf() - APP/Controller/LettersController.php, line 117
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - APP/Lib/cakephp/lib/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - APP/Lib/cakephp/lib/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - APP/Lib/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 109
Missing View
Error:
The view for LettersController::view_pdf() was not found.
Confirm you have created the file: Letters/view_pdf.ctp in one of the following paths:
- /var/www/awschlegel/version-04-20/app/View/Letters/view_pdf.ctp
Notice:
If you want to customize this error message, create app/View/Errors/missing_view.ctp
Stack Trace